package com.zh.work.entity.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("行业类型实体信息")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("system_mcc")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SystemMcc extends Model<SystemMcc> {
  private static final long serialVersionUID = -4053905536118957226L;

  @ApiModelProperty(value = "主键", name = "id")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  @ApiModelProperty(value = "MCC类别 1-民生类 2-一般类 4-餐娱类 8-批发类 16-房汽类 32-公益类", name = "mccType")
  private Integer mccType;
  @ApiModelProperty(value = "MCC代码", name = "mccCode")
  private String mccCode;
  @ApiModelProperty(value = "经营范围", name = "mccMemo")
  private String mccMemo;
  @ApiModelProperty(value = "逻辑删除", name = "deleted")
  private String deleted;
  @ApiModelProperty(value = "行业类型实体", name = "systemMcc")
  @TableField(exist = false)
  private SystemMcc systemMcc;

}
